package com.orhon.smartcampus.modules.systemctl.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "systemctl_operation_api", schema = "smartcloud", catalog = "")
public class OperationApiRelation {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Long id;
	@Column(name = "api",nullable = false)
	private String api;
	@Column(name = "operation_id", nullable = true)
	private Integer operation_id;
	
}
